package com.yhn.shortlink.project;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author yhnyhn123
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.yhn.shortlink.project", "com.yhn.shortlink.common"})
@MapperScan("com.yhn.shortlink.project.mapper")
public class ShortlinkProjectApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShortlinkProjectApplication.class, args);
    }
}
